ThreePatch

Undocumented in source.

Constructors

this
this(IHipTexture tex, ThreePatchOrientation o)
Undocumented in source.

Members

Functions

build
void build()
Undocumented in source. Be warned that the author may not have intended to support it.
draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
getOrientation
ThreePatchOrientation getOrientation()
Undocumented in source. Be warned that the author may not have intended to support it.
getVertices
HipSpriteVertex[4 * 3] getVertices()
Undocumented in source. Be warned that the author may not have intended to support it.
setOrientation
void setOrientation(ThreePatchOrientation ori)
Undocumented in source. Be warned that the author may not have intended to support it.
setPosition
void setPosition(int x, int y)
Undocumented in source. Be warned that the author may not have intended to support it.
setSize
void setSize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.
updatePosition
void updatePosition()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromQuads
ThreePatch fromQuads(AtlasRect[3] rects, IHipTexture tex, int width, int height, ThreePatchOrientation o)
fromTexture
ThreePatch fromTexture(IHipTexture tex, int width, int height, ThreePatchOrientation o)

Variables

height
int height;
Undocumented in source.
orientation
ThreePatchOrientation orientation;
Undocumented in source.
sprites
HipSprite[3] sprites;
Undocumented in source.
vertices
HipSpriteVertex[4 * 3] vertices;
Undocumented in source.
width
int width;
Undocumented in source.
x
int x;
y
int y;
Undocumented in source.

Meta